# Contributor: Paul Bredbury <brebs@sent.com>
# Maintainer:
pkgname=awslogs
pkgver=0.11.0
pkgrel=2
pkgdesc="AWS CloudWatch log retriever"
url="https://github.com/jorgebastida/awslogs"
arch="noarch"
license="BSD-3-Clause-Attribution"
depends="py3-boto3 py3-jmespath py3-termcolor py3-dateutil"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/jorgebastida/awslogs/archive/$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --root="$pkgdir"
}

sha512sums="30118717535ef46acc387473a0dffc61169e234b290555097db4d0deb0cfedba23a18147c9c40bc1f983f5ac18a051f057ec6aaa13a1ca8d7caa23e3c53a3e1b  awslogs-0.11.0.tar.gz"
